﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WcfLib;

namespace ClientTargetIISHost
{
    class Program
    {
        static void Main(string[] args)
        {
            DemoServiceClient client = new DemoServiceClient();

            string val = client.GetData(1);

            CompositeType ct = new CompositeType();
            ct.BoolValue = true;
            ct.StringValue = "OK";

            CompositeType af = client.GetDataUsingDataContract(ct);

            ct.BoolValue = false;
            af = client.GetDataUsingDataContract(ct);
        }
    }
}
